package com.guo.todo.usercenter.service.session.impl;

import com.guo.todo.common.util.UUIDUtil;
import com.guo.todo.usercenter.service.session.TokenProvider;
import org.springframework.stereotype.Service;

/**
 * @Auther: hotlove_linx
 * @Date: 2023/7/19 22:28
 * @Description:
 */
@Service("uuidTokenProvider")
public class UUIDTokenProvider implements TokenProvider {

    @Override
    public String generateToken() {
        return UUIDUtil.getToken();
    }
}
